<template>
  <div id="app">
    <tab-bar v-if="this.$route.meta.isNav"></tab-bar>
    <van-button type="primary">主要按钮</van-button>
    <router-view />
  </div>
</template>
<script>
import TabBar from "@/components/TabBar.vue";
export default {
  components: {
    TabBar
  },
};
</script>
<style>
#app {
  width: 10rem;
  margin-left: auto;
  margin-right: auto;
}
</style>
